Morning All, |
Re: Move Objects within module First off...
o = top(m)
while(!null o)
{ deal with o
o = next(o)
}
Skip skpObjs = create()
int Sequence = 0
for o in m do {put(skpObjs, Sequence++, o)}
for o in skpObjs do
{ body of loop
}
delete(skpObjs)
|
Re: Move Objects within module llandale - Wed Feb 27 14:45:48 EST 2013 First off...
o = top(m)
while(!null o)
{ deal with o
o = next(o)
}
Skip skpObjs = create()
int Sequence = 0
for o in m do {put(skpObjs, Sequence++, o)}
for o in skpObjs do
{ body of loop
}
delete(skpObjs)
first time I have used skip lists too!!! All good now...:) |
Re: Move Objects within module SystemAdmin - Thu Mar 07 03:50:30 EST 2013
The second "m" loop will disrupt the 1st. I have a massive library and can and do get these double nested loops; so my main programs routinely stage in Skip lists even if there does not appear to be a good reason. The Sequencer just gets them evaluated in the original order. -Louie |